package com.tm.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tm.dto.SetmealDTO;
import com.tm.dto.SetmealDTOO;
import com.tm.entity.SetmealEntity;

import java.util.List;

/**
 * @author huangp
 * @create 2023-04-06 15:56
 */
public interface SetmealService extends IService<SetmealEntity> {

    Page<SetmealEntity> pageList(Integer page, Integer pageSize, SetmealDTO setmealDTO);

    void addSetmeal(SetmealDTOO setmealDTOO);

    void removeWithDish(List<Long> ids);

    SetmealDTOO getByIfwithDish(Long id);

    void setmealStatusByStatus(Integer status, List<Long> ids);

    void updateWithSetmeal(SetmealDTOO setmealDTOO);
}
